package com.pan.download5.config.entity;

import java.util.Map;

public class LineInfo{
    private String url;
    private Map<String, String> infoMap;
    private LineType configType;

    public LineInfo(String url,  Map<String, String> infoMap, LineType configType) {
        this.url = url;
        this.infoMap = infoMap;
        this.configType = configType;
    }

    public String getUrl() {
        return url;
    }


    public Map<String, String> getInfoMap(){
        return this.infoMap;
    }

    public LineType getConfigType() {
        return configType;
    }

    @Override
    public String toString() {
        return "LineInfo{" +
                "url='" + url + '\'' +
                ", infoMap=" + infoMap +
                ", configType=" + configType +
                '}';
    }
}